from ..man import app
from fuguang.utils.SmsApis import send_message


@app.task(name='send_sms')
def send_sms(tid, mobile, datas):
    print('--------------执行celery任务------------')
    res = send_message(tid, mobile, datas)
    return res
